package com.mlf.abstractFactory.spring.ui;

import com.mlf.abstractFactory.Button;
import com.mlf.abstractFactory.Checkbox;
import org.springframework.stereotype.Component;

@Component("LIGHT_THEME")
public class LightThemeFactory implements ThemeFactory {
    @Override
    public Button createButton() {
        return new LightButton();
    }

    @Override
    public Checkbox createCheckbox() {
        return new LightCheckbox();
    }
}
